ConsoleDomain

class ConsoleDomain : Domain

This domain is deprecated - use Runtime or Log instead.

Functions

clearMessages
Link copied to clipboard
fun clearMessages(): Single<RequestResponseFrame>
Does nothing.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables console domain, prevents further console messages from being reported to the client.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
messageAdded
Link copied to clipboard
fun messageAdded(): Flowable<MessageAddedEvent>
Issued when new console message is added.
name
Link copied to clipboard
fun name(): String
Returns domain name.

Sources

jvm source
Link copied to clipboard